package pablo.developer;

public class Route {
	
	String origen,destino,fecha,hora,avoid, seatsOffered, seatsAvalaible, maxDeviation, remainingDeviation, maxDelay, remainingDelay,smoking, costModel, costAmount,name;
	int idUser,idRoute,idPoint;
	boolean encontrado;
	
	public static Route getEmpty() {
		return new Route("", "", "", "", "", "", "", "", "", "","","","","","",false,0);
	}
	public Route(String ori,String des,String fech, String hor, String nam, String avo, String offeredSeats, String availableSeats ,
		       String amountCost, String deviationMax, String deviationRemaining, String delayMax,String delayRemaining, String fumador,String modelCost,boolean enc, int id){
		origen             = ori;
		destino            = des;
		fecha              = fech;
		hora               = hor;
		avoid              = avo;
		seatsOffered       = offeredSeats;
		seatsAvalaible     = availableSeats;
		maxDeviation       = deviationMax;
		remainingDeviation = deviationRemaining;
		maxDelay           = delayMax;
		remainingDelay     = delayRemaining;
		smoking            = fumador;
		costModel          = modelCost;
		costAmount         = amountCost;
		name               = nam;
		encontrado         = enc;
		idUser             = id;
	}
	public String getOrigen(){
		return origen;
	}
	public String getDestino(){
		return destino;
	}
	public String getFecha(){
		return fecha;
	}
	public String getHora(){
		return hora;
	}
	public String getName(){
		return name;
	}
	public String getDisponibilidad(){
		return avoid;
	}
	public String getAsientosOfrecidos(){
		return seatsOffered;
	}
	public String getAsientosDisponibles(){
		return seatsAvalaible;
	}
	public String getDesviacionMaxima(){
		return maxDeviation;
	}
	public String getDesviacionRestante(){
		return remainingDeviation;
	}
	public String getRetrasoMaximo(){
		return maxDelay;
	}
	public String getRetrasoRestante(){
		return remainingDelay;
	}
	public String getFumador(){
		return smoking;
	}
	public String getModeloPago(){
		return costModel;
	}
	public String getPrecio(){
		return costAmount;
	}
	public boolean getEncontrado(){
		return encontrado;
	}
	public int getIdUser(){
		return idUser;
	}
}
